const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  // 页面显示用户信息和用户代码优化
  // 用户信息
  company: state => state.user.userInfo.company,
  // 用户头像
  staffPhoto: state => state.user.userInfo.staffPhoto
}
export default getters
